package pers.xx.sbm.dao;

import org.springframework.stereotype.Repository;
import pers.xx.sbm.entity.BaseSchool;

import java.util.List;

@Repository
public interface BaseSchoolMapper extends BaseMapper<BaseSchool> {

    /**
     * @description 根据区县获取学校
     * @author XieXing
     * @date 2021/1/27 22:04
     */
    List<BaseSchool> getSchoolByCountId(Integer countyId);


    /**
     * @description 更新学校编码
     * @author XieXing
     * @date 2021/1/28 12:34
     */
    int updateSysCodeById(BaseSchool baseSchool);

}